package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 通讯录对象 address_list
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("通讯录-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "address_list")
public class AddressListEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 通讯录分组主键
	 */
	@ApiModelProperty("通讯录分组主键")
	private Long algId;

	/**
	 * 成员用户主键
	 */
	@ApiModelProperty("成员用户主键")
	private Long userId;

	/**
	 * 01用户/02患者
	 */
	@ApiModelProperty("01用户/02患者")
	private String idType;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
